home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / hh_str13.zip / DATEINFO.DOC < prev    next >
Text File  |  1993-03-13  |  2KB  |  45 lines

  1.  
  2.                   DATE INFORMATION
  3.  
  4.  
  5.     In working with various bulletin boards and dealing with
  6.     miscellaneous files over the years, we have found a number of
  7.     date formats in use. To facilitate our own function naming, we
  8.     have given the various types the following totally arbitrary
  9.     numerical designations. This information is used with both
  10.     the "strdate<n>" and "strdateconv" functions.
  11.  
  12.         type     format
  13.         ----     ------
  14.           1    mm/dd/yy   NOTE: mm and dd will be padded on the
  15.           2    mm-dd-yy     left with a 0 where necessary
  16.           3     m/ d/yy   NOTE: m and d will be padded on the
  17.           4     m- d-yy     left with a blank where necessary
  18.           5    m/d/yy       NOTE: m and d can be one digit or two
  19.           6    m-d-yy         digits but will not be padded
  20.                      with either 0's or blanks
  21.           7     yy/mm/dd   NOTE: this format is a sortable version
  22.                      which is similar to type 1
  23.  
  24.     As can be seen above, the difference between the even and odd
  25.     types is the use of '-' versus '/' as the separator character.
  26.     The difference among the three groups of types (1/2, 3/4 and 5/6)
  27.     is as follows:
  28.  
  29.         1/2    Format is totally fixed and there are no blanks.
  30.             0's will be added to the left of mm and dd as
  31.             necessary to fill out the format.
  32.  
  33.         3/4    Exactly the same as 1/2 except that no 0's will
  34.             be added, so the format may contain blanks.
  35.  
  36.         5/6    The date appears in minimal form using a variable
  37.             format with no leading blanks or zeros in any
  38.             subfield
  39.  
  40.           7    This is identical to 1, except that the order of
  41.             the month/day/year has been changed so as to
  42.             provide an easily sortable format.
  43.  
  44.  
  45.